package com.kaili.basic.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.kaili.basic.pojo.dto.BaseStoreStockQueryDto;
import com.kaili.basic.pojo.entity.BaseInStoreEntity;
import com.kaili.basic.pojo.entity.BaseStoreStockEntity;
import com.kaili.basic.pojo.vo.BaseStoreStockVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface BaseStoreStockMapper extends BaseMapper<BaseStoreStockEntity> {

    List<BaseStoreStockVO> queryCanOutStock(Page<BaseStoreStockVO> page, BaseStoreStockQueryDto queryDto);

    List<BaseStoreStockEntity> queryStockBySupplierId(Map<String, Object> map);

//    List<BaseStoreStockEntity> queryStockGroupByLocation(Map<String, Object> map);
}